<?php defined('InShopNC') or exit('Access Invalid!');?>
<!--促销（新品）模块-->
<?php if(!empty($output['code_sale_list']['code_info'])){ ?>
<?php foreach($output['code_sale_list']['code_info'] as $val){ ?>
<?php if(!empty($val['goods_list'])){?>
<div class="timeLimit_box">
    <div class="timeLimit_cen">
        <div class="cp_box2">
            <!--今日新品-->
            <div class="exhibitionImg">
                <img src="<?php echo SHOP_TEMPLATES_URL;?>/images/newimages/exhibitionImg1.png" alt="">
            </div>
            <!--列表-->
            <ul>
                <?php foreach($val['goods_list'] as $v){?>
                <li class="list">
                    <div class="cpImg">
                        <img src="<?php echo UPLOAD_SITE_URL.'/'.$v['goods_pic'];?>" alt="<?php echo $v['goods_name']; ?>">
                    </div>
                    <div class="right">
                        <div class="title">
                            <?php echo $v['goods_name']; ?>
                        </div>
                        <div class="price">
                            ￥<span><?php echo $v['goods_price']; ?></span>
                        </div>
                        <a href="<?php echo urlShop('goods','index',array('goods_id'=> $v['goods_id'])); ?>" title="<?php echo $v['goods_name']; ?>">
                            <div class="btn">
                                立即抢购
                            </div>
                        </a>
                    </div>
                </li>
                <?php } ?>
            </ul>
        </div>
    </div>
</div>
<?php }?>
<?php }?>
<?php } ?>